## Process this file with automake to produce Makefile.in
## Created by Anjuta

SUBDIRS = src po \
	pixmaps

bibshelfdocdir = ${datadir}/doc/bibshelf
bibshelfdoc_DATA = \
	README\
	COPYING\
	AUTHORS\
	ChangeLog\
	INSTALL\
	NEWS

desktopdir = ${prefix}/share/applications
desktop_in_file = bibshelf.desktop.in
desktop_DATA = $(desktop_in_file:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@

EXTRA_DIST = $(bibshelfdoc_DATA) \
	bibshelf.desktop.in.in

%.desktop.in: %.desktop.in.in
	sed -e 's,[@]PACKAGE_PIXMAPS_DIR[@],@datadir@/bibshelf,g' $< > $@

# Copy all the spec files. Of cource, only one is actually used.
dist-hook:
	for specfile in *.spec; do \
		if test -f $$specfile; then \
			cp -p $$specfile $(distdir); \
		fi \
	done

